package cn.itcast.mapper;

import cn.itcast.pojo.CheckItem;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: peterChen
 * @date: 2019/8/13 12:14
 * @description: TODO
 * @version: 1.0
 */
public interface CheckItemMapper {
    public Page selectByContition(@Param("queryString") String queryString);

    public void add(CheckItem checkItem);

    public CheckItem findCheckItemById(@Param("id") Integer id);

    public void edit(CheckItem checkItem);

    public long findCheckItemByCheckItemId(@Param("id") Integer id);

    public void delete(@Param("id") Integer id);

    public List<CheckItem> findAll();
}
